Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map Alt+D to the correct action kind in package.json #1750

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dalps
Copy link

@dalps dalps commented Mar 11, 2025

The extension assigns the key binding Alt+D to the very useful "destruct" code action, but currently the key binding doesn't do anything (also see ocaml/ocaml-lsp#1301).

I did some digging and discovered that the definition of the key binding is passing the destruct kind, but ocaml-lsp actually names the kind destruct (enumerate cases).

Now the keybinding is correctly mapped to the destruct action, and I also see the keys suggested in the code actions context menu:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant